import request from '@/utils/request'

// 查询数据分析报告明细列表
export function listReportDetail(query) {
  return request({
    url: '/data/reportDetail/list',
    method: 'get',
    params: query
  })
}

// 查询数据分析报告明细详细
export function getReportDetail(id) {
  return request({
    url: '/data/reportDetail/' + id,
    method: 'get'
  })
}

// 新增数据分析报告明细
export function addReportDetail(data) {
  return request({
    url: '/data/reportDetail',
    method: 'post',
    data: data
  })
}

// 修改数据分析报告明细
export function updateReportDetail(data) {
  return request({
    url: '/data/reportDetail',
    method: 'put',
    data: data
  })
}

// 删除数据分析报告明细
export function delReportDetail(id) {
  return request({
    url: '/data/reportDetail/' + id,
    method: 'delete'
  })
}
